{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.page_title.tpl" title=$PageTitle}
{if $PageFlag eq 1}
<ul id="authors">
{foreach from=$Blocks item="curr"}
<li><a href="{$BaseURL}blocks/{$curr.linkname}{$Config.webPageFileType}">{$curr.title}</a> ({$curr.count})</li>
{/foreach}
</ul>
{/if}

{if $PageFlag eq 2}
{if $MainNews.title neq ''}{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.main_rubric_news.tpl" curr=$MainNews}{/if}
{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.news_pages.tpl" Paging=$Paging News=$News}
{/if}